﻿	<!-- Book's create/edit form -->
<div id="bookCoverFormContainer" class="popupWindow">
	<div class="popupTitle">
		<div class="commandBar popupCommandBar">
			<span class="icon mediumIcon deleteIcon" data-tooltip-url="@Url.Action("GetGenericTooltip", "Tooltip")" data-tooltip-type="@((int)TooltipType.Cancel)" data-tooltip-id="genericTooltip">&nbsp;</span>
		</div>
		</div>
	<div class="popupContent">
		@using (Html.BeginForm("AddImage", "Image", FormMethod.Post, new { id = "bookCoverForm", enctype = "multipart/form-data", target = "ImageIDFrame" }))
		{ 
			<h4>Choose an image upload type</h4>
			<div id="rbUploadImageGroup">
				<input id="rbUpload" type="radio" name="imageType" checked="checked" />
				<label id="lblUpload" for="rbUpload">Upload</label>
				<input id="rbUrl" name="imageType" type="radio" />
				<label id="lblUrl" for="rbUrl">Url</label>
			</div>
	  
			<div id="uploadingTypeChooser">
				<input type="file" id="fuImage" name="Content" />
				<input type="text" id="txtUrl" name="Uri" />
				<img id="loadingImageBar" src="@Url.Content("~/Content/Images/imageLoader.gif")" alt="Loading..." />
			</div>
			
			<div id="uploadManagePanel">
				<input type="submit" id="btnUploadConfirm" class="popupButton" value="Ok" />
				<input type="button" id="btnUploadCancel" class="popupButton" value="Cancel" />
			</div>
			<div id="imageUploadValidationSummary">
				<ul>
			
				</ul>
			</div>
		}
	</div>
</div>